projects
/
cargo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
73f870c
)
Fix recompilation test for mac
author
Aleksey Kladov
<aleksey.kladov@gmail.com>
Sat, 18 Feb 2017 06:34:38 +0000
(09:34 +0300)
committer
Aleksey Kladov
<aleksey.kladov@gmail.com>
Sat, 18 Feb 2017 06:34:38 +0000
(09:34 +0300)
On macs, mtime has a seconds granularity, so we need to sleep a bit
tests/path.rs
patch
|
blob
|
history
diff --git
a/tests/path.rs
b/tests/path.rs
index 1b4594fe69e44f8527dcbcaa960f5bd57a03aa25..52e117d762b85c283eea0570ad14450bff4eea3a 100644
(file)
--- a/
tests/path.rs
+++ b/
tests/path.rs
@@
-298,6
+298,7
@@
fn no_rebuild_dependency() {
p.url(),
p.url())));
+ sleep_ms(1000);
p.change_file("src/foo.rs", r#"
extern crate bar;
fn main() { bar::bar(); }